<html><head><title>SetWindowState</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">SetWindowState()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>SetWindowState</b></font>(#Window, State) </blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Changes the minimized/maximized of the specified window. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Window</i></td>
<td width="90%"> 
The window to use. 

</td></tr>
<tr><td><i>State</i></td>
<td> 
Can have one of the following values: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Window_Normal</font>  : The window will be neither maximized nor minimized.
  <font color="#924B72">#PB_Window_Maximize</font>: The window will be maximized. (Note: on Linux, not all Windowmanagers support this)
  <font color="#924B72">#PB_Window_Minimize</font>: The window will be minimized.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Remarks</b></p><blockquote>

<a href="getwindowstate.html">GetWindowState()</a> can be used to get the current state of the window. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="getwindowstate.html">GetWindowState()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=setwindowdata.html>SetWindowData()</a> - <a href="index.html">Window Index</a> - <a href="setwindowtitle.html">SetWindowTitle()</a> -><br><br>

</body></html>